<?php
// DB Created by Rich L. a member in service in Northern Delaware.  Please feel free to share this code wherever it may be useful to alcholoics.  Should you have questons please contact me at sobernerd@gmail.com
//header items
$jQuery = true;
$jQueryCookie = true;
$hoverIntent = true;
$table = 'events'; //set appropriate table
$ifDeleteReturnTo = 'events.php';
require_once ('../../config/include_paths.php');
require_once('config.php');
require_once('functions.php');
$pageTitle = SITE_NAME.' - Administration - Events'; //must be set after the config.php include and before head.php include
require_once('dbconnect.php');	// database connect script.
session_start();
$sql = "SELECT * FROM events";					
			$result =  mysql_query($sql) or die(mysql_error());
			$total = mysql_num_rows($result);
require_once ('adminhead.php');
?>
<body onLoad="checkMenuSettings();">
<div id="wrapper">
  <?php require_once ('adminHeader.php'); ?>
  <div class="clearfloat">&nbsp;</div>
  <div id="sidebar">
    <?php require_once ('adminNav.php'); ?>
  </div>
  <div id="main_content">
  	<div id="sortable_content">
		<?php require_once ('events_table.php'); ?>
        <div id="eventPreview">xxx</div>
    </div>
  </div>
</div>
<?php mysql_close($conn); ?>
</body>
</html>